@extends('layouts.home')
@section('title', '沃势管理后台')
@section('content')
<div class="card-box">
    <div class="row">
        <div class="modal-body">
            <div class="row">
                <div class="col-md-12">
                    <div class="form-group">
                        <label for="field-3" class="control-label">角色名</label>
                        <input type="text" name="name" class="form-control" value="{{ $role->name }}">
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-12">
                    <div class="form-group no-margin">
                        <label for="field-7" class="control-label">描述</label>
                        <textarea class="form-control autogrow" id="field-7" style="overflow: hidden; word-wrap: break-word; resize: horizontal; height: 104px;" name="desc" value="{{ $role->desc }}"></textarea>
                    </div>
                </div>
            </div>
        </div>
        <div class="modal-footer">
            <input type="hidden" name="id" value="{{ $role->id }}">
            <button type="submit" class="btn btn-info waves-effect waves-light">保存</button>
        </div>
    </div>
</div>
@section('script')
    <script src="../plugins/bootstrap-select/js/bootstrap-select.min.js" type="text/javascript"></script>
@endsection
@stop